import { mkdirSync, statSync } from 'fs'
import { resolve } from 'path'
import { dirname } from 'path/posix'

export function createDir(dirPath: string) {
  // console.log(dirPath)
  try {
    statSync(dirPath)
  } catch (e) {
    mkdirSync(dirPath, { recursive: false })
  }
}
